package com.atguigu.lease.web.admin.mapper;

import com.atguigu.lease.model.entity.GraphInfo;
import com.atguigu.lease.model.enums.ItemType;
import com.atguigu.lease.web.admin.vo.graph.GraphVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liubo
 * @description 针对表【graph_info(图片信息表)】的数据库操作Mapper
 * @createDate 2023-07-24 15:48:00
 * @Entity com.atguigu.lease.model.GraphInfo
 */
public interface GraphInfoMapper extends BaseMapper<GraphInfo>
{

    List<GraphVo> selectListByItemTypeAndId(
            @Param("itemType")
                    ItemType itemType,
            @Param("itemId")
                    Long itemId);
}




